
import request from '@/utils/request.js'
// 所有首页的请求
export function getcommendList () {
  return request({
    url: '/personalized',
    params: {
      limit: 6
    }
  })
}

/**
 * 获取最新音乐
 * @param {Number}} limit  获取数量
 * @returns  promise
 */
export function getNewMusic (limit) {
  return request({
    url: '/personalized/newsong',
    params: {
      limit: limit
    }
  })
}
